#ifndef _SCORE_H_
#define _SCORE_H_

#include "util.h"


class Score {
public:
	Score()
	{
		points = 0;
	}
	~Score() = default;

	void getpoint(int x)
	{
		points += x;
	}
	void on_draw()
	{
		TCHAR text[50];
		_stprintf_s(text, _T("Score:%d"), points);
		outtextxy_shaded_public(900, 60, text);
	}
	void on_exit()
	{
		points = 0;
	}
private:
	int points;
};




#endif // !_SCORE_H_

